<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@page import="java.io.*,java.util.*"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page import="pos.domain.EventStore"%>
<%@page import="pos.domain.EntityStore"%>
<%@page import="pos.domain.RelationStore"%>
<%@page import="pos.domain.Event"%>
<%@page import="pos.domain.Entity"%>
<%@page import="pos.domain.Relation"%>
<%@page import="pos.domain.Category"%>
<%@page import="pos.domain.Discipline"%>
<%@page import="pos.domain.Type"%>
<%@page import="pos.domain.SubType"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Massive Load Success</title>
<script type="text/javascript">
	function redirection() {
		window.location = "index.html";
	}
</script>

</head>

<body>

<% 
	EventStore e =  new EventStore();
	
List<Event> le = e.getEvents();
	if(!le.isEmpty()){
		
		%>
	
<h4 align="center" >Have been included to the database: <%le.size();%> items</h4>
<% }
	%>
	<div id="menu">
		<ul>
			<li><a href="javascript:redirection()">Entry page</a></li>
			<li><a title="See events included"
				href="eventsIncluded.jsp">See the events included</a></li>
		</ul>

	</div>
</body>
</html>